package com.dyava.commons.valueplus;

/**
 * Created by jjliu on 2017/9/10.
 */
public class IntegerPlus<P> extends ObjectPlus<Integer,P> {

    public static <P> IntegerPlus of(Integer b, P p){
        IntegerPlus<P> objectPlus= new IntegerPlus<P>();
        objectPlus.setValue(b);
        objectPlus.setPlus(p);
        return objectPlus;
    };

    public static IntegerPlus of(Integer b){
        return of(b,null);
    };

}
